import axios from "axios"
// 实时天气
export function weatherDay(params?: any) {
  return axios({
    url: 'https://devapi.qweather.com/v7/weather/7d',
    method: 'get',
    params
  })
}
export function weatherNow(params?: any) {
  return axios({
    url: 'https://devapi.qweather.com/v7/weather/24h',
    method: 'get',
    params
  })
}